import request from '@/utils/request.js';

//  标签
export const postTags = url => {
  return request({
    method: 'post',
    url: url,
  });
};

// 获取所有标签
export const tagAll = token => {
  return request({
    method: 'post',
    Headers: { Authorization: token },
    url: '/tags/findAll',
  });
};
